<?php
/*
 * Created on Jul 5, 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */


require_once ('../db/DBManager.php');
require_once ('../db/StoryTextLoader.php');
DBManager :: getInstance();
$contentLoader = new StoryTextLoader();
$content = $contentLoader->getStoryText($_REQUEST['storyId']);
	echo "<div class='storyTitle' id='storyTitle' >".$content->getStoryTitle()."</div>";
	echo "<div class='author'>-".$content->getAuthor()."</div>";
	echo "<div class='dated'>".$content->getDated()."</div>";
	echo "<div class='shortText'>".$content->getFullText()."</div>";


?>
